<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Document</title>
    <script src="../jquery-3.3.1.min.js"></script>
    <style>
        
    </style>
</head>
<body>
    <h1>JQ 其他</h1>
    <hr>


    <ul id="list">
        <li>七步诗----曹植</li>
        <li>煮豆燃豆萁</li>
        <li>豆在釜中泣</li>
        <li>本是同根生</li>
        <li>相煎何太急</li>
    </ul>

    <script>
        $('#list li').each(function(i,n){
            console.log(i, n, this, $(this).index());

        });
            console.log($('#list li').get(4));
    </script>
</body>
</html>